<!--三级菜单-->

<section class="content-header">
    <h1>

    </h1>
</section>
<section class="content">
    <div class="row">

        <div class="col-xs-12">
            <div class="box-tools">
                <div class="input-group input-group-sm" style="width: 150px;">
                    <a href="{:url('/index/project/team/add',['project_id'=>input('project_id')])}" class="btn btn-block btn-info" data-toggle="modal" data-target="#base_team_modal">添加项目团队成员</a>
                </div>
            </div>

            <div class="box">

                <div class="box-header">
                    <h3 class="box-title">项目团队成员列表</h3>

                    <div class="box-tools">
                        <form method="post" action="{:url('/index/project/team/index')}" class="search_load_tab_form">
                            <div class="input-group input-group-sm" style="width: 250px;">
                                <input type="text" name="search" class="form-control pull-right" placeholder="搜索">

                                <div class="input-group-btn">
                                    <button type="submit" class="btn btn-default"><i class="fa fa-search"></i></button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
                <!-- /.box-header -->

                <div class="box-body table-responsive no-padding">
                    <table class="table table-hover">
                        <tbody>
                            <tr>
                                <th>标号</th>


                                <th>项目名称</th>

                                <th>项目角色</th>
                                <th>项目成员姓名</th>

                                <th>联系电话</th>

                                <th>企业邮箱</th>

                                <th>职责</th>
                                <th>提交日期</th>



                                <th>操作</th>
                            </tr>
                            {volist name="data_list" id="vo" key="key"}
                            <tr>
                                <td>{$key}</td>
                                <td>{$vo.project['title']}</td>
                                <td>{$role_item[$vo["user"]->role_id]}</td>

                                <td>{$vo.user['nickname']}</td>
                                <td>{$vo.phone}</td>
                                <td>{$vo.email}</td>
                                <td>{$vo.duty}</td>
                                <td>{$vo.create_time}</td>



                                <td>
                                    <a href="javascript:;" data-url="{:url('/Index/Team/Index/del')}" param="{$vo.id}" class="btn label-danger data_del_items">删除</a>

                                    <a href="{:url('/index/project/team/edit',['id'=>$vo.id,'project_id'=>input('project_id')])}" class="btn label-info" data-toggle="modal" data-target="#base_team_modal">编辑</a>

                                </td>
                            </tr>
                            {/volist}
                        </tbody>
                    </table>

                    <div class="col-sm-7">
                        {$page}

                    </div>
                </div </div>
            </div>
        </div>
</section>
<div class="modal " id="base_team_modal">
    <div class="modal-dialog ">
        <div class="modal-content "></div>
    </div>
</div>
<script src="/public/admin/js/common.js"></script>